package org.jeecg.modules.system.upgrade.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: APP补丁文件表
 * @Author: 月月鸟
 * @Date:   2021-07-14
 * @Version: V1.0
 */
@Data
@TableName("bike_upgrade_app_package")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bike_upgrade_app_package对象", description="APP补丁文件表")
public class BikeUpgradeAppPackage implements Serializable {
    private static final long serialVersionUID = 1L;

	/**安装包编码*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "安装包编码")
    private java.lang.String id;
	/**所属APP*/
	@Excel(name = "所属APP", width = 15)
    @ApiModelProperty(value = "所属APP")
    private java.lang.String appId;
	/**版本ID*/
	@Excel(name = "版本ID", width = 15)
    @ApiModelProperty(value = "版本ID")
    private java.lang.String versionId;
	/**补丁文件名*/
	@Excel(name = "补丁文件名", width = 15)
    @ApiModelProperty(value = "补丁文件名")
    private java.lang.String fileName;
	/**补丁文件大小(KB)*/
	@Excel(name = "补丁文件大小(KB)", width = 15)
    @ApiModelProperty(value = "补丁文件大小(KB)")
    private java.lang.Integer fileSize;

	/**文件类型*/
	@Excel(name = "文件类型", width = 15)
    @ApiModelProperty(value = "文件类型")
    private java.lang.String fileType;

    /**补丁文件内容(二进制存储在数据)*/
    private byte[] fileData;

    /**下载地址URL*/
    @Excel(name = "下载地址URL", width = 15)
    @ApiModelProperty(value = "下载地址URL")
    private java.lang.String downloadUrl;
}
